The structure fields should be exactly as documented, including case matching.
authorEwan Mellor <ewan@xensource.com>
Sat, 28 Oct 2006 11:15:40 +0000 (12:15 +0100)
committerEwan Mellor <ewan@xensource.com>
Sat, 28 Oct 2006 11:15:40 +0000 (12:15 +0100)
Signed-off-by: Ewan Mellor <ewan@xensource.com>
tools/python/xen/xend/XendAPI.py

index bed2c9ecf870a3e5c7488f7f5098706bd488eb8b..f921b92e9061e67870af9d069fd4235f6094a4c4 100644 (file)
@@ -930,11 +930,11 @@ class XendAPI:
             'actions_after_reboot': xeninfo.get_on_reboot(),
             'actions_after_suspend': xeninfo.get_on_suspend(),
             'actions_after_crash': xeninfo.get_on_crash(),
-            'vifs': xeninfo.get_vifs(),
-            'vbds': xeninfo.get_vbds(),
-            'vtpms': xeninfo.get_vtpms(),
+            'VIFs': xeninfo.get_vifs(),
+            'VBDs': xeninfo.get_vbds(),
+            'VTPMs': xeninfo.get_vtpms(),
             'bios_boot': xeninfo.get_bios_boot(),
-            'platform_std_vga': xeninfo.get_platform_std_vga(),
+            'platform_std_VGA': xeninfo.get_platform_std_vga(),
             'platform_serial': xeninfo.get_platform_serial(),
             'platform_localtime': xeninfo.get_platform_localtime(),
             'platform_clock_offset': xeninfo.get_platform_clock_offset(),
@@ -945,9 +945,9 @@ class XendAPI:
             'kernel_initrd': xeninfo.get_kernel_initrd(),
             'kernel_args': xeninfo.get_kernel_args(),
             'grub_cmdline': xeninfo.get_grub_cmdline(),
-            'pci_bus': xeninfo.get_pci_bus(),
+            'PCI_bus': xeninfo.get_pci_bus(),
             'tools_version': xeninfo.get_tools_version(),
-            'otherconfig': xeninfo.get_other_config()
+            'otherConfig': xeninfo.get_other_config()
         }
         return xen_api_success(record)